﻿import java.util.Scanner;


public class Exercise6 {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
        System.out.println("请输入用户名:");
        String name=input.next();
        System.out.println("请输入密码:");
        String pwd=input.next();
        if(pwd.length()>=6){
        	System.out.println("注册成功!");
        }else{
        	System.out.println("密码长度不能小于6位");
        }
	}

}
